/*
 * Created by JFormDesigner on Sat Dec 19 15:08:13 CST 2020
 */

package cn.fourhundredandeighteen.view.StudentView;

import cn.fourhundredandeighteen.view.Component.Container;
import cn.fourhundredandeighteen.view.Component.LabelButton;
import cn.fourhundredandeighteen.view.Component.Setting;
import cn.fourhundredandeighteen.view.StudentView.StudentCourseInfo.studentCourseInfo;
import cn.fourhundredandeighteen.view.StudentView.studentInfo.StudentUserInfo;
import cn.fourhundredandeighteen.view.StudentView.studentRewardInfo.studentRewardInfo;
import cn.fourhundredandeighteen.view.StudentView.studentSelectCourswInfo.studentSelectCourswInfo;

import java.util.ArrayList;

public class StudentView {
    private ArrayList<LabelButton> labelButtonList = new ArrayList<LabelButton>();

    public StudentView(String title) {

        labelButtonList.add(new LabelButton("个人信息", StudentUserInfo.class));
        labelButtonList.add(new LabelButton("已选课程管理", studentCourseInfo.class));
        labelButtonList.add(new LabelButton("选课管理", studentSelectCourswInfo.class));
        labelButtonList.add(new LabelButton("获奖管理", studentRewardInfo.class));
        labelButtonList.add(new LabelButton("系统设置", Setting.class));

        Container container = Container.getInstance(labelButtonList);
        container.setTitle(title);

    }

}
